package com.lyk.coursearrange.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyk.coursearrange.entity.CustomerInformation;
import com.lyk.coursearrange.entity.Sale;
import com.lyk.coursearrange.entity.dto.CustomerInformationDto;
import com.lyk.coursearrange.entity.dto.CustomerInformationDtoTwo;
import com.lyk.coursearrange.excel.ExcelCustomerInformationOutData;

import java.util.List;
import java.util.Map;

public interface CustomerInformationService extends IService<CustomerInformation> {

    CustomerInformation getById(Long id);
    List<CustomerInformation> customerinformationlist(Map<String,String> param);

    String getsourcename(Long customerId);

    boolean customerinformationadd(Map<String, String> param);

    boolean customerstateupdate(Map<String, String> param);

    int customerdelete(Long customer_id);

    String getsourcepeoplename(Long customerSourcepeople);

    boolean customerstudentupdate(CustomerInformationDtoTwo c);

    CustomerInformationDtoTwo customersone(Long customer_id);

    int selectWX(String wx);

    Long customerinformationcount(Map<String, String> param);

    boolean customerisactiveupdate(Map<String, String> param);


    List<Sale> customersale();
}
